<!DOCTYPE html>
<html lang="en"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>主界面</title>
</head>
<body>
    <h3>我是主页面</h3>
    <a href="/logout">点击退出</a>
    <hr>
    <a href="user/del" shiro:hasPermission="user:del">删除</a><br>
    <a href="user/add" shiro:hasPermission="user:add">添加</a><br>
    <a href="user/edit" shiro:hasPermission="user:edit">编辑</a><br>
    <a href="user/sel" shiro:hasPermission="user:sel">查看</a><br>
</body>
</html>
